<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:stdmnu="http://java.sun.com/jsf/composite/components/menu">
    <h:head/>
    <h:body>
    	<ui:composition>
    	<div id="content_current">
	 		<h:form prependId="false">
				<h:panelGroup id="panelListaCobroDiario" styleClass="ui-panel-lista-datatable">
					<h:commandLink value="exportar PDF">
        				<p:dataExporter type="pdf" target="dataTableCumple" fileName="cumpleaneros" pageOnly="true" />
    				</h:commandLink>
					<p:dataTable id="dataTableCumple" var="bean" value="#{cobroDiarioListBean.lista}" rows="10" paginator="true"
	                	paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink}"
	                    paginatorPosition="bottom">
	                    <f:facet name="header">
							<h:outputText value="REPORTE DE CUMPLEANEROS DEL MES" />
                       	</f:facet>
	        			<p:column headerText="#{scrText['screen.cita.etiqueta.paciente']}">
	            			<h:outputText value="#{bean.nombrePaciente}" />
	        			</p:column>
	    			</p:dataTable>
    			</h:panelGroup>
    		</h:form>
		</div>
		</ui:composition>
    </h:body>

</html>